// 引入路由
const Router = require("koa-router");
const list = new Router();

list.get("/apple", async (ctx) => {
  ctx.body = "苹果";
});
list.get("/banana", async (ctx) => {
  ctx.body = "香蕉";
});

// 导出
module.exports = list;
